<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-text和v-html指令</title>
</head>
<body>
    <div id="app">
        {{msg}}
        <h1 v-text="msg">丁华东是个大傻逼</h1>
        <h1>丁华东是个大傻逼{{msg}}</h1>
        <span v-html="togo"></span>
    </div>
</body>
<script src="./js/2.7.14_dist_vue.js"></script>
</html>
<script>
    const Text = new Vue({
        el:"#app",
        data:{
            msg:"你好!Vue",
            togo:'<a href="www.baidu.com">跳转</a>'
        }
    })
</script>